package com.ruoyi.email.service.impl;

import com.ruoyi.email.domain.TmdEmailWrite;
import com.ruoyi.email.mapper.TmdEmailDraftMapper;
import com.ruoyi.email.service.ITmdEmailDraftService;
import com.ruoyi.email.vo.TmdEmailWriteAndSysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TmdEmailDraftServiceImpl implements ITmdEmailDraftService {
    @Autowired
    private TmdEmailDraftMapper tmdEmailDraftMapper;
    @Override
    public List<TmdEmailWriteAndSysUser> selectTmdEmailWriteList(TmdEmailWrite tmdEmailWrite) {
        return tmdEmailDraftMapper.selectTmdEmailWriteList(tmdEmailWrite);
    }

    @Override
    public TmdEmailWriteAndSysUser selectTmdEmailWriteById(int id) {
        return tmdEmailDraftMapper.selectTmdEmailWriteById(id);
    }
}
